import request from '@/utils/request'
var group_name = 'admin'

export default {
    updateInfo(data) {
        return request({
            url: `/${group_name}/updateInfo`,
            method: 'post',
            data: data
        })
    },
    updatePwd(data) {
        return request({
            url: `/${group_name}/updatePwd`,
            method: 'post',
            data: data
        })
    }
}